package com.atguigu.springcloud.service;


import com.atguigu.springcloud.dao.PaymentDao;
import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface PaymentService {

   public int create(Payment payment);

   public Payment getPayment(@Param("id") Long id);

   public List<Payment> getAllPayment();

}
